﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using snat.proxy.items;

namespace snat.model
{
    public interface INodeFactory {

        /// <summary>
        /// Method to instantiate a network model node
        /// </summary>
        /// <param name="e">The Entity represented by the database</param>
        /// <returns>A network model node, a derivative of BaseNode</returns>
        BaseNode Instantiate(DBEntity e);
    }
}
